package com.huangzhtao.japlearn;

import java.util.List;
import java.util.Vector;

public class ContentControler {
	public static final String ID="_id";
	public static final String CTRLID="ctrlId";
	public static final String CTRLVERSION="ctrlVersion";
	public static final String UPDATATIME="updateTime";
	public static final String LANGUAGE="language";
	public static final String CTRLFLAG="ctrlFlag";
	
	private int id;
	private int ctrlId;
	private int ctrlVersion;
	private long updateTime;
	private String language;
	// holds unit object
	private List<Unit> units;
	private int flag;
	
	public int getFlag() {
		return flag;
	}

	public void setFlag(int flag) {
		this.flag = flag;
	}

	public int getCtrlId() {
		return ctrlId;
	}

	public void setCtrlId(int ctrlId) {
		this.ctrlId = ctrlId;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	
	public ContentControler()
	{
		this.units = new Vector<Unit>();
	}
	
	public int getCtrlVersion() {
		return ctrlVersion;
	}
	public void setCtrlVersion(int ctrlVersion) {
		this.ctrlVersion = ctrlVersion;
	}
	public long getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(long updateTime) {
		this.updateTime = updateTime;
	}
	public String getLanguage() {
		return language;
	}
	public void setLanguage(String language) {
		this.language = language;
	}

	public List<Unit> getUnits() {
		return units;
	}

	public void setUnits(List<Unit> units) {
		this.units = units;
	}
	
}
